package 反射.myinterface;

/**
 * @Projectname java_based
 * @Filename MyAnnotation
 * @Author an
 * @Data 2022/7/26 19:32
 * @Description TODO
 */
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

import static java.lang.annotation.ElementType.*;

@Target({TYPE, FIELD, METHOD, PARAMETER, CONSTRUCTOR, LOCAL_VARIABLE})
@Retention(RetentionPolicy.RUNTIME)
public @interface MyAnnotation {
    String value() default "hello world";
}
